package com.jddup.program.dao.sqlbuilder;

import com.jddup.common.pojo.TableMeta;

import java.lang.reflect.InvocationTargetException;
import java.util.List;


/**
 * Created by ZZB on 2017/10/19.
 */
public interface UpdateSQLBuilder {
    String buildUpdateSQL(TableMeta tableMeta,Object o) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException, NoSuchFieldException;
    String buildUpdateFieldSQL(TableMeta tableMeta, String column, Object value, Object pk);
    String buildUpdateListFieldSQL(TableMeta tableMeta, String column, Object value, List<?> pks);
}
